<template>
  <h1>测试:{{ URL }}</h1>
</template>

<script lang="ts" setup>
  const pro = (import.meta.env as any).MODE === 'production';

  const URL = pro ? window.globalConfig.LOGIN_URL : import.meta.env.VITE_LOGIN_URL;
</script>

<style lang="scss" scoped></style>
